+2006-01-27 Federico Mena Quintero <federico@ximian.com>
+
+ Fixes bug #328820:
+
+ * gtk/gtkfilechooserdefault.c
+ (gtk_file_chooser_default_class_init): Make GDK_KP_Divide pop up
+ the location dialog populated to "/".
+ (tree_view_keybinding_cb): Likewise.
+ (trap_activate_cb): Likewise.
+
2006-01-25 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkcalendar.c (gtk_calendar_size_request): Use translated format
+2006-01-27 Federico Mena Quintero <federico@ximian.com>
+
+ Fixes bug #328820:
+
+ * gtk/gtkfilechooserdefault.c
+ (gtk_file_chooser_default_class_init): Make GDK_KP_Divide pop up
+ the location dialog populated to "/".
+ (tree_view_keybinding_cb): Likewise.
+ (trap_activate_cb): Likewise.
+
2006-01-25 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkcalendar.c (gtk_calendar_size_request): Use translated format
+2006-01-27 Federico Mena Quintero <federico@ximian.com>
+
+ * gtk/tmpl/gtkfilechooser.sgml: Mention that ~ is also a default
+ key binding.
+
2006-01-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt:
<row>
<entry>location-popup</entry>
<entry>
- <keycombo><keycap>Control</keycap><keycap>L</keycap></keycombo>;
- <keycap>/</keycap>
+ <keycombo><keycap>Control</keycap><keycap>L</keycap></keycombo> (empty path);
+ <keycap>/</keycap> (path of "/")<footnote>
+ <para>
+ Both the individual <keycap>/</keycap> key and the
+ numeric keypad's "divide" key are supported.
+ </para>
+ </footnote>;
+ <keycap>~</keycap> (path of "~")
</entry>
</row>
<row>
put in the text entry for the file name. By default this is bound to
<keycombo><keycap>Control</keycap><keycap>L</keycap></keycombo>
with a <parameter>path</parameter> string of "" (the empty
- string); it is also bound to <keycap>/</keycap> with a
+ string). It is also bound to <keycap>/</keycap> with a
<parameter>path</parameter> string of "<literal>/</literal>"
(a slash): this lets you type <keycap>/</keycap> and
- immediately type a path name.
+ immediately type a path name. On Unix systems, this is bound to
+ <keycap>~</keycap> (tilde) with a <parameter>path</parameter> string
+ of "~" itself for access to home directories.
</para>
<variablelist role="params">
GDK_slash, 0,
"location-popup",
1, G_TYPE_STRING, "/");
+ gtk_binding_entry_add_signal (binding_set,
+ GDK_KP_Divide, 0,
+ "location-popup",
+ 1, G_TYPE_STRING, "/");
#ifdef G_OS_UNIX
gtk_binding_entry_add_signal (binding_set,
GtkFileChooserDefault *impl)
{
if ((event->keyval == GDK_slash
+ || event->keyval == GDK_KP_Divide
#ifdef G_OS_UNIX
|| event->keyval == GDK_asciitilde
#endif
modifiers = gtk_accelerator_get_default_mod_mask ();
if ((event->keyval == GDK_slash
+ || event->keyval == GDK_KP_Divide
#ifdef G_OS_UNIX
|| event->keyval == GDK_asciitilde
#endif